package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.Region;
import cn.wolfcode.luowowo.article.query.RegionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {


    PageInfo<Region> listAllByPage(RegionQuery qo);

    void saveOrUpdate(Region region);

    Region getRegionById(Long rid);

    void deleteById(Long id);

    void changeHotValue(Long id, boolean hot);


    List<Destination> listHotRegion();

}
